package com.hc.fdkgoods.controller;

import com.hc.fdkgoods.common.Result;
import com.hc.fdkgoods.service.PushedBizSummaryService;
import com.hc.fdkgoods.vo.ForwarderSupplierGroupVO;
import org.omg.CORBA.PUBLIC_MEMBER;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class PushedBizSummaryController {
    @Resource
    private PushedBizSummaryService pushedBizSummaryService;

    @GetMapping("/query/pushed/biz/summary/list")
    public Result<List<ForwarderSupplierGroupVO>> pushedBizSummary(){
        return Result.ok(pushedBizSummaryService.getPushedBizSummary());
    }
}
